import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 活动执行情况
export const getPage = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/activityVehicle`, { params });

export const getActivityCode = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/activityVehicle/${params.activityCode}`);
